 <!-- Login Window start -->
 	<div id="login_window" style="text-align:center; vertical-align:middle; display:none;">
 		<br/><br/>
 		<form action="/json?action=LOGIN_ACTION" method="post" id="manage_login_frm">
	 		账号：<input type="text" id="LOGIN_NAME" name="LOGIN_NAME" /><br/><br/>
			密码：<input type="password" id="PASSWORD" name="PASSWORD" /><br/><br/>
			<input type="button" value="登&nbsp;&nbsp;&nbsp;&nbsp;录" onclick="winLogin();"/>&nbsp;&nbsp;&nbsp;&nbsp;
			<input type="button" value="退出系统" onclick="location.href='/admin/index.html'"/>
		</form>
 	</div>
 	<script type="text/javascript">
 		function winLogin(){
 			var name = $.trim($('#LOGIN_NAME').val());
			if(name.length == 0){
				alert('请输入账号！');
				return;
			}
			var pwd = $.trim($('#PASSWORD').val());
			if(pwd.length == 0){
				alert('请输入密码！');
				return;
			}
			var options = {
			    dataType: 'json',
			    success: function(data) {
			    	if(data.success){
			      		$.zxxbox.hide();
			      	} else {
			      		alert(data.errors.errmsg);
			      	}
			   	}
			};
			$.ajaxSetup({contentType:'application/x-www-form-urlencoded;charset=utf-8'});
		    $('#manage_login_frm').ajaxSubmit(options);
		}
	</script>
 <!-- Login Window end -->